home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-05-01 | 1.6 KB | 60 lines | [TEXT/MPS ] |
- /*
- File: OSAGeneric.idl
-
- Contains: AppleScript Generic Component Interfaces.
-
- Version: Technology: AppleScript 1.1
- Release: Universal Interfaces 3.0d3 on Copland DR1
-
- Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
-
- Bugs?: If you find a problem with this file, send the file and version
- information (from above) and the problem description to:
-
- Internet: apple.bugs@applelink.apple.com
- AppleLink: APPLE.BUGS
-
- */
- #ifndef __OSAGENERIC_IDL__
- #define __OSAGENERIC_IDL__
-
- #include <somobj.idl>
- #include <somcls.idl>
-
- #ifndef __ERRORS_IDL__
- #include <Errors.idl>
- #endif
- #ifndef __APPLEEVENTS_IDL__
- #include <AppleEvents.idl>
- #endif
- #ifndef __OSA_IDL__
- #include <OSA.idl>
- #endif
-
- #ifdef __SOMIDL__
-
- #if FOR_SYSTEM7_ONLY
- /*
- NOTE: This interface defines a "generic scripting component."
- The Generic Scripting Component allows automatic dispatch to a
- specific scripting component that conforms to the OSA interface.
- This component supports OSA, by calling AppleScript or some other
- scripting component. Additionally it provides access to the default
- and the user-prefered scripting component.
- */
- typedef OSType ScriptingComponentSelector;
-
- typedef OSAID GenericID;
-
- /* get and set the default scripting component */
- /* get a scripting component instance from its subtype code */
- /* get a scripting component selector (subType) from a stored script */
- /* get a real component instance and script id from a generic id */
- /* get a generic id from a real component instance and script id */
- #endif
-
- #endif /* __SOMIDL__ */
-
- #endif /* __OSAGENERIC_IDL__ */
-
-